package com.umpay.dto.merBusi.req.split;

import com.umpay.annotation.Pattern;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

public class SplitDataBusi implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@NotNull(message = "商户分账订单号不能为空")		
	@Pattern(message = "商户分账订单号格式不正确")
	private String splitOrderId;	//商户订单号
	
	@NotNull(message = "商户分账订单日期不能为空")		
	@Pattern(message = "商户分账订单日期格式不正确")
	private String splitOrderDate;	//商户订单日期
	
	@NotNull(message = "收款方用户号不能为空")		
	@Pattern(message = "收款方用户号格式不正确")
	private String inUserId;	//收款方用户号
	
//	@NotNull(message = "收款方类型不能为空")		
//	@Pattern(message = "收款方类型格式不正确")
	private String inUserType;	//收款方类型
	
	@NotNull(message = "收款方账户类型不能为空")		
	@Pattern(message = "收款方账户类型格式不正确")
	private String inAccType;	//收款方账户类型
	
	@NotNull(message = "金额不能为空")		
	@Pattern(message = "金额格式不正确")
	private String splitAmount;	//金额
	
	private String inAccountName;	//收款方户名
	
	public String getSplitOrderId() {
		return splitOrderId;
	}
	public void setSplitOrderId(String splitOrderId) {
		this.splitOrderId = splitOrderId;
	}
	public String getSplitOrderDate() {
		return splitOrderDate;
	}
	public void setSplitOrderDate(String splitOrderDate) {
		this.splitOrderDate = splitOrderDate;
	}
	public String getInUserId() {
		return inUserId;
	}
	public void setInUserId(String inUserId) {
		this.inUserId = inUserId;
	}
	public String getInUserType() {
		return inUserType;
	}
	public void setInUserType(String inUserType) {
		this.inUserType = inUserType;
	}
	public String getInAccType() {
		return inAccType;
	}
	public void setInAccType(String inAccType) {
		this.inAccType = inAccType;
	}
	public String getSplitAmount() {
		return splitAmount;
	}
	public void setSplitAmount(String splitAmount) {
		this.splitAmount = splitAmount;
	}
	
	public String getInAccountName() {
		return inAccountName;
	}
	public void setInAccountName(String inAccountName) {
		this.inAccountName = inAccountName;
	}
	@Override
	public String toString() {
		return "SplitDataBusi [splitOrderId=" + splitOrderId + ", splitOrderDate=" + splitOrderDate + ", inUserId=" + inUserId
				+ ", inUserType=" + inUserType + ", inAccType=" + inAccType + ", splitAmount=" + splitAmount + ", inAccountName=" + inAccountName + "]";
	}

	
}
